package com.kawins.spring.config;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * @author rankai
 *         createTime 2018-01-2018/1/23 13:17
 */
public class WebConfigListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        ConfigKit.ENV = EnvConstant.selectEnv();
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {

    }
}
